Animation Settings
The
animationSettings
field of the object sample atom
(Object Sample Atom Structure)
is a long integer that specifies a set of animation settings for an object node. Animation settings specify characteristics of the movie while it is playing. You can use these constants to specify animation settings:
enum QTVRAnimationSettings {
kQTVRObjectAnimateViewFramesOn = (1 << 0),
kQTVRObjectPalindromeViewFramesOn = (1 << 1),
kQTVRObjectStartFirstViewFrameOn = (1 << 2),
kQTVRObjectAnimateViewsOn = (1 << 3),
kQTVRObjectPalindromeViewsOn = (1 << 4),
kQTVRObjectSyncViewToFrameRate = (1 << 5),
kQTVRObjectDontLoopViewFramesOn = (1 << 6),
kQTVRObjectPlayEveryViewFrameOn = (1 << 7)
};
Constant descriptions
-
kQTVRObjectAnimateViewFramesOn
-
If this bit is set, play all frames in the current view state.
-
kQTVRObjectPalindromeViewFramesOn
-
If this bit is set, play a back-and-forth animation of the frames of the current view state.
-
kQTVRObjectStartFirstViewFrameOn
-
If this bit is set, play the frame animation starting with the first frame in the view (that is, at the view start time).
-
kQTVRObjectAnimateViewsOn
-
If this bit is set, play all views of the current object in the default row of views.
-
kQTVRObjectPalindromeViewsOn
-
If this bit is set, play a back-and-forth animation of all views of the current object in the default row of views.
-
kQTVRObjectSyncViewToFrameRate
-
If this bit is set, synchronize the view animation to the frame animation and use the same options as for frame animation.
-
kQTVRObjectDontLoopViewFramesOn
-
If this bit is set, stop playing the frame animation in the current view at the end.
-
kQTVRObjectPlayEveryViewFrameOn
-
If this bit is set, play every view frame regardless of play rate. The play rate is used to adjust the duration in which a frame appears but no frames are skipped so the rate is not exact.
© 1997 Apple Computer, Inc.Previous | Overview | Contents | Next